Week 7
Milestones
- Learned how to use open source JWT libraries and tools like JJWT, Nimbus JOSE + JWT, Auth0 JWT, etc. to generate and verify JWT tokens.
- Understanding the key concepts of public and private key encryption and how to use them to secure JWT tokens.
- Implement how to refresh JWT token.
- Learned about creating a whole user entity.
- Documented above implementation about java-jwt library.
Screenshots / Videos
Contributions
- https://github.com/egovernments/Digit-Core/commit/a4107e15310766d95d1e52b437fc04b8cadac405
- https://github.com/egovernments/Digit-Core/pull/134
- https://github.com/egovernments/Digit-Core/pull/193
Learnings
- Learned about JWT creation, verification, and validation of the same.
- Worked with several JWT claims and successfully verifing JWT to return DecodedJWT.
- Learned about JWT Algorithms along with token expiration and refreshing.
- Learned about DateTime Claim validation and custom Claims.